home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / prolog.elc.z / prolog.elc
Emacs Compiled Lisp  |  1998-10-28  |  6.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 75 6e 20 4a |ggum.no |on Sun J|
|00000030| 61 6e 20 31 34 20 30 36 | 3a 32 36 3a 34 32 20 31 |an 14 06|:26:42 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 67 64 2f 67 6e | 75 2f 65 6d 61 63 73 2f |e /gd/gn|u/emacs/|
|00000060| 31 39 2e 30 2f 6c 69 73 | 70 2f 70 72 6f 6c 6f 67 |19.0/lis|p/prolog|
|00000070| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|00000080| 72 73 69 6f 6e 20 31 39 | 2e 33 30 2e 37 30 2e 36 |rsion 19|.30.70.6|
|00000090| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000a0| 65 72 73 69 6f 6e 20 46 | 53 46 20 32 2e 31 30 0a |ersion F|SF 2.10.|
|000000b0| 3b 3b 3b 20 6f 70 74 69 | 6d 69 7a 61 74 69 6f 6e |;;; opti|mization|
|000000c0| 20 69 73 20 6f 6e 2e 0a | 3b 3b 3b 20 74 68 69 73 | is on..|;;; this|
|000000d0| 20 66 69 6c 65 20 75 73 | 65 73 20 6f 70 63 6f 64 | file us|es opcod|
|000000e0| 65 73 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |es which| do not |
|000000f0| 65 78 69 73 74 20 69 6e | 20 45 6d 61 63 73 20 31 |exist in| Emacs 1|
|00000100| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000110| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000120| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000130| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000140| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000150| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000160| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|00000170| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 2e 32 |cs-versi|on "19.2|
|00000180| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|00000190| 20 22 60 70 72 6f 6c 6f | 67 2e 65 6c 27 20 77 61 | "`prolo|g.el' wa|
|000001a0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001b0| 6d 61 63 73 20 31 39 2e | 32 39 20 6f 72 20 6c 61 |macs 19.|29 or la|
|000001c0| 74 65 72 22 29 29 0a 0a | 0a 28 62 79 74 65 2d 63 |ter"))..|.(byte-c|
|000001d0| 6f 64 65 20 22 c0 c1 21 | 84 08 00 c2 11 c1 0b 42 |ode "..!|.......B|
|000001e0| 13 c0 c4 21 84 14 00 c2 | 14 c4 0b 42 13 c0 c5 21 |...!....|...B...!|
|000001f0| 84 20 00 c2 15 c5 0b 42 | 13 c2 87 22 20 5b 62 6f |. .....B|..." [bo|
|00000200| 75 6e 64 70 20 70 72 6f | 6c 6f 67 2d 6d 6f 64 65 |undp pro|log-mode|
|00000210| 2d 73 79 6e 74 61 78 2d | 74 61 62 6c 65 20 6e 69 |-syntax-|table ni|
|00000220| 6c 20 63 75 72 72 65 6e | 74 2d 6c 6f 61 64 2d 6c |l curren|t-load-l|
|00000230| 69 73 74 20 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 2d |ist prol|og-mode-|
|00000240| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 70 72 6f |abbrev-t|able pro|
|00000250| 6c 6f 67 2d 6d 6f 64 65 | 2d 6d 61 70 5d 20 32 29 |log-mode|-map] 2)|
|00000260| 0a 23 40 36 36 20 2a 50 | 72 6f 67 72 61 6d 20 6e |.#@66 *P|rogram n|
|00000270| 61 6d 65 20 66 6f 72 20 | 69 6e 76 6f 6b 69 6e 67 |ame for |invoking|
|00000280| 20 61 6e 20 69 6e 66 65 | 72 69 6f 72 20 50 72 6f | an infe|rior Pro|
|00000290| 6c 6f 67 20 77 69 74 68 | 20 60 72 75 6e 2d 70 72 |log with| `run-pr|
|000002a0| 6f 6c 6f 67 27 2e 1f 0a | 28 64 65 66 76 61 72 20 |olog'...|(defvar |
|000002b0| 70 72 6f 6c 6f 67 2d 70 | 72 6f 67 72 61 6d 2d 6e |prolog-p|rogram-n|
|000002c0| 61 6d 65 20 22 70 72 6f | 6c 6f 67 22 20 28 23 24 |ame "pro|log" (#$|
|000002d0| 20 2e 20 2d 36 31 34 29 | 29 0a 23 40 35 35 20 2a | . -614)|).#@55 *|
|000002e0| 28 52 65 29 43 6f 6e 73 | 75 6c 74 20 6d 6f 64 65 |(Re)Cons|ult mode|
|000002f0| 20 28 66 6f 72 20 43 2d | 50 72 6f 6c 6f 67 20 61 | (for C-|Prolog a|
|00000300| 6e 64 20 51 75 69 6e 74 | 75 73 20 50 72 6f 6c 6f |nd Quint|us Prolo|
|00000310| 67 29 2e 20 1f 0a 28 64 | 65 66 76 61 72 20 70 72 |g). ..(d|efvar pr|
|00000320| 6f 6c 6f 67 2d 63 6f 6e | 73 75 6c 74 2d 73 74 72 |olog-con|sult-str|
|00000330| 69 6e 67 20 22 72 65 63 | 6f 6e 73 75 6c 74 28 75 |ing "rec|onsult(u|
|00000340| 73 65 72 29 2e 5c 6e 22 | 20 28 23 24 20 2e 20 2d |ser).\n"| (#$ . -|
|00000350| 37 33 35 29 29 0a 23 40 | 33 37 20 2a 43 6f 6d 70 |735)).#@|37 *Comp|
|00000360| 69 6c 65 20 6d 6f 64 65 | 20 28 66 6f 72 20 51 75 |ile mode| (for Qu|
|00000370| 69 6e 74 75 73 20 50 72 | 6f 6c 6f 67 29 2e 1f 0a |intus Pr|olog)...|
|00000380| 28 64 65 66 76 61 72 20 | 70 72 6f 6c 6f 67 2d 63 |(defvar |prolog-c|
|00000390| 6f 6d 70 69 6c 65 2d 73 | 74 72 69 6e 67 20 22 63 |ompile-s|tring "c|
|000003a0| 6f 6d 70 69 6c 65 28 75 | 73 65 72 29 2e 5c 6e 22 |ompile(u|ser).\n"|
|000003b0| 20 28 23 24 20 2e 20 2d | 38 35 39 29 29 0a 23 40 | (#$ . -|859)).#@|
|000003c0| 31 30 31 20 2a 53 74 72 | 69 6e 67 20 74 68 61 74 |101 *Str|ing that|
|000003d0| 20 72 65 70 72 65 73 65 | 6e 74 73 20 65 6e 64 20 | represe|nts end |
|000003e0| 6f 66 20 66 69 6c 65 20 | 66 6f 72 20 70 72 6f 6c |of file |for prol|
|000003f0| 6f 67 2e 0a 6e 69 6c 20 | 6d 65 61 6e 73 20 73 65 |og..nil |means se|
|00000400| 6e 64 20 61 63 74 75 61 | 6c 20 6f 70 65 72 61 74 |nd actua|l operat|
|00000410| 69 6e 67 20 73 79 73 74 | 65 6d 20 65 6e 64 20 6f |ing syst|em end o|
|00000420| 66 20 66 69 6c 65 2e 1f | 0a 28 64 65 66 76 61 72 |f file..|.(defvar|
|00000430| 20 70 72 6f 6c 6f 67 2d | 65 6f 66 2d 73 74 72 69 | prolog-|eof-stri|
|00000440| 6e 67 20 22 65 6e 64 5f | 6f 66 5f 66 69 6c 65 2e |ng "end_|of_file.|
|00000450| 5c 6e 22 20 28 23 24 20 | 2e 20 2d 39 36 34 29 29 |\n" (#$ |. -964))|
|00000460| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|00000470| 84 08 00 c2 11 c1 0b 42 | 13 5c 66 84 6c 00 c5 20 |.......B|.\f.l.. |
|00000480| 1e 06 c7 c8 c9 0e 06 23 | 88 c7 ca cb 0e 06 23 88 |.......#|......#.|
|00000490| c7 cc cd 0e 06 23 88 c7 | ce cd 0e 06 23 88 c7 cf |.....#..|....#...|
|000004a0| cd 0e 06 23 88 c7 d0 cd | 0e 06 23 88 c7 d1 cd 0e |...#....|..#.....|
|000004b0| 06 23 88 c7 d2 d3 0e 06 | 23 88 c7 d4 d5 0e 06 23 |.#......|#......#|
|000004c0| 88 c7 d6 cd 0e 06 23 88 | c7 d7 cd 0e 06 23 88 c7 |......#.|.....#..|
|000004d0| d8 d9 0e 06 23 88 0e 06 | 14 29 da db dc 5c 22 87 |....#...|.)...\".|
|000004e0| 22 20 5b 62 6f 75 6e 64 | 70 20 70 72 6f 6c 6f 67 |" [bound|p prolog|
|000004f0| 2d 69 6e 64 65 6e 74 2d | 77 69 64 74 68 20 34 20 |-indent-|width 4 |
|00000500| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00000510| 74 20 70 72 6f 6c 6f 67 | 2d 6d 6f 64 65 2d 73 79 |t prolog|-mode-sy|
|00000520| 6e 74 61 78 2d 74 61 62 | 6c 65 20 6d 61 6b 65 2d |ntax-tab|le make-|
|00000530| 73 79 6e 74 61 78 2d 74 | 61 62 6c 65 20 74 61 62 |syntax-t|able tab|
|00000540| 6c 65 20 6d 6f 64 69 66 | 79 2d 73 79 6e 74 61 78 |le modif|y-syntax|
|00000550| 2d 65 6e 74 72 79 20 39 | 35 20 22 77 22 20 39 32 |-entry 9|5 "w" 92|
|00000560| 20 22 5c 5c 22 20 34 37 | 20 22 2e 22 20 34 32 20 | "\\" 47| "." 42 |
|00000570| 34 33 20 34 35 20 36 31 | 20 33 37 20 22 3c 22 20 |43 45 61| 37 "<" |
|00000580| 31 30 20 22 3e 22 20 36 | 30 20 36 32 20 33 39 20 |10 ">" 6|0 62 39 |
|00000590| 22 5c 22 22 20 64 65 66 | 69 6e 65 2d 61 62 62 72 |"\"" def|ine-abbr|
|000005a0| 65 76 2d 74 61 62 6c 65 | 20 70 72 6f 6c 6f 67 2d |ev-table| prolog-|
|000005b0| 6d 6f 64 65 2d 61 62 62 | 72 65 76 2d 74 61 62 6c |mode-abb|rev-tabl|
|000005c0| 65 20 6e 69 6c 5d 20 34 | 29 0a 28 64 65 66 61 6c |e nil] 4|).(defal|
|000005d0| 69 61 73 20 27 70 72 6f | 6c 6f 67 2d 6d 6f 64 65 |ias 'pro|log-mode|
|000005e0| 2d 76 61 72 69 61 62 6c | 65 73 20 23 5b 6e 69 6c |-variabl|es #[nil|
|000005f0| 20 22 c0 09 21 88 5c 6e | 13 c4 c5 21 88 c6 0e 07 | "..!.\n|...!....|
|00000600| 50 15 c4 c8 21 88 0d 16 | 08 c4 c9 21 88 ca 16 09 |P...!...|...!....|
|00000610| c4 cb 21 88 cc 16 0b c4 | cd 21 88 ce 16 0d c4 cf |..!.....|.!......|
|00000620| 21 88 d0 16 0f c4 d1 21 | 88 d2 16 11 c4 d3 21 88 |!......!|......!.|
|00000630| d4 89 16 13 87 22 20 5b | 73 65 74 2d 73 79 6e 74 |....." [|set-synt|
|00000640| 61 78 2d 74 61 62 6c 65 | 20 70 72 6f 6c 6f 67 2d |ax-table| prolog-|
|00000650| 6d 6f 64 65 2d 73 79 6e | 74 61 78 2d 74 61 62 6c |mode-syn|tax-tabl|
|00000660| 65 20 70 72 6f 6c 6f 67 | 2d 6d 6f 64 65 2d 61 62 |e prolog|-mode-ab|
|00000670| 62 72 65 76 2d 74 61 62 | 6c 65 20 6c 6f 63 61 6c |brev-tab|le local|
|00000680| 2d 61 62 62 72 65 76 2d | 74 61 62 6c 65 20 6d 61 |-abbrev-|table ma|
|00000690| 6b 65 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ke-local|-variabl|
|000006a0| 65 20 70 61 72 61 67 72 | 61 70 68 2d 73 74 61 72 |e paragr|aph-star|
|000006b0| 74 20 22 25 25 5c 5c 7c | 24 5c 5c 7c 22 20 70 61 |t "%%\\||$\\|" pa|
|000006c0| 67 65 2d 64 65 6c 69 6d | 69 74 65 72 20 70 61 72 |ge-delim|iter par|
|000006d0| 61 67 72 61 70 68 2d 73 | 65 70 61 72 61 74 65 20 |agraph-s|eparate |
|000006e0| 70 61 72 61 67 72 61 70 | 68 2d 69 67 6e 6f 72 65 |paragrap|h-ignore|
|000006f0| 2d 66 69 6c 6c 2d 70 72 | 65 66 69 78 20 74 20 69 |-fill-pr|efix t i|
|00000700| 6e 64 65 6e 74 2d 6c 69 | 6e 65 2d 66 75 6e 63 74 |ndent-li|ne-funct|
|00000710| 69 6f 6e 20 70 72 6f 6c | 6f 67 2d 69 6e 64 65 6e |ion prol|og-inden|
|00000720| 74 2d 6c 69 6e 65 20 63 | 6f 6d 6d 65 6e 74 2d 73 |t-line c|omment-s|
|00000730| 74 61 72 74 20 22 25 22 | 20 63 6f 6d 6d 65 6e 74 |tart "%"| comment|
|00000740| 2d 73 74 61 72 74 2d 73 | 6b 69 70 20 22 25 2b 20 |-start-s|kip "%+ |
|00000750| 2a 22 20 63 6f 6d 6d 65 | 6e 74 2d 63 6f 6c 75 6d |*" comme|nt-colum|
|00000760| 6e 20 34 38 20 63 6f 6d | 6d 65 6e 74 2d 69 6e 64 |n 48 com|ment-ind|
|00000770| 65 6e 74 2d 66 75 6e 63 | 74 69 6f 6e 20 70 72 6f |ent-func|tion pro|
|00000780| 6c 6f 67 2d 63 6f 6d 6d | 65 6e 74 2d 69 6e 64 65 |log-comm|ent-inde|
|00000790| 6e 74 5d 20 32 5d 29 0a | 28 64 65 66 61 6c 69 61 |nt] 2]).|(defalia|
|000007a0| 73 20 27 70 72 6f 6c 6f | 67 2d 6d 6f 64 65 2d 63 |s 'prolo|g-mode-c|
|000007b0| 6f 6d 6d 61 6e 64 73 20 | 23 5b 28 6d 61 70 29 20 |ommands |#[(map) |
|000007c0| 22 c0 09 c2 c3 23 88 c0 | 09 c4 c5 23 87 22 20 5b |"....#..|...#." [|
|000007d0| 64 65 66 69 6e 65 2d 6b | 65 79 20 6d 61 70 20 22 |define-k|ey map "|
|000007e0| 09 22 20 70 72 6f 6c 6f | 67 2d 69 6e 64 65 6e 74 |." prolo|g-indent|
|000007f0| 2d 6c 69 6e 65 20 22 1b | 18 22 20 70 72 6f 6c 6f |-line ".|." prolo|
|00000800| 67 2d 63 6f 6e 73 75 6c | 74 2d 72 65 67 69 6f 6e |g-consul|t-region|
|00000810| 5d 20 34 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |] 4]).(b|yte-code|
|00000820| 20 22 08 84 0b 00 c1 20 | 10 c2 08 21 88 c1 87 22 | "..... |...!..."|
|00000830| 20 5b 70 72 6f 6c 6f 67 | 2d 6d 6f 64 65 2d 6d 61 | [prolog|-mode-ma|
|00000840| 70 20 6d 61 6b 65 2d 73 | 70 61 72 73 65 2d 6b 65 |p make-s|parse-ke|
|00000850| 79 6d 61 70 20 70 72 6f | 6c 6f 67 2d 6d 6f 64 65 |ymap pro|log-mode|
|00000860| 2d 63 6f 6d 6d 61 6e 64 | 73 5d 20 32 29 0a 23 40 |-command|s] 2).#@|
|00000870| 32 32 38 20 4d 61 6a 6f | 72 20 6d 6f 64 65 20 66 |228 Majo|r mode f|
|00000880| 6f 72 20 65 64 69 74 69 | 6e 67 20 50 72 6f 6c 6f |or editi|ng Prolo|
|00000890| 67 20 63 6f 64 65 20 66 | 6f 72 20 50 72 6f 6c 6f |g code f|or Prolo|
|000008a0| 67 73 2e 0a 42 6c 61 6e | 6b 20 6c 69 6e 65 73 20 |gs..Blan|k lines |
|000008b0| 61 6e 64 20 60 25 25 2e | 2e 2e 27 20 73 65 70 61 |and `%%.|..' sepa|
|000008c0| 72 61 74 65 20 70 61 72 | 61 67 72 61 70 68 73 2e |rate par|agraphs.|
|000008d0| 20 20 60 25 27 73 20 73 | 74 61 72 74 20 63 6f 6d | `%'s s|tart com|
|000008e0| 6d 65 6e 74 73 2e 0a 43 | 6f 6d 6d 61 6e 64 73 3a |ments..C|ommands:|
|000008f0| 0a 5c 7b 70 72 6f 6c 6f | 67 2d 6d 6f 64 65 2d 6d |.\{prolo|g-mode-m|
|00000900| 61 70 7d 0a 45 6e 74 72 | 79 20 74 6f 20 74 68 69 |ap}.Entr|y to thi|
|00000910| 73 20 6d 6f 64 65 20 63 | 61 6c 6c 73 20 74 68 65 |s mode c|alls the|
|00000920| 20 76 61 6c 75 65 20 6f | 66 20 60 70 72 6f 6c 6f | value o|f `prolo|
|00000930| 67 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 27 0a 69 66 20 |g-mode-h|ook'.if |
|00000940| 74 68 61 74 20 76 61 6c | 75 65 20 69 73 20 6e 6f |that val|ue is no|
|00000950| 6e 2d 6e 69 6c 2e 1f 0a | 28 64 65 66 61 6c 69 61 |n-nil...|(defalia|
|00000960| 73 20 27 70 72 6f 6c 6f | 67 2d 6d 6f 64 65 20 23 |s 'prolo|g-mode #|
|00000970| 5b 6e 69 6c 20 22 c0 20 | 88 c1 5c 6e 21 88 c3 14 |[nil ". |..\n!...|
|00000980| c5 16 06 c7 20 88 c8 c9 | 21 87 22 20 5b 6b 69 6c |.... ...|!." [kil|
|00000990| 6c 2d 61 6c 6c 2d 6c 6f | 63 61 6c 2d 76 61 72 69 |l-all-lo|cal-vari|
|000009a0| 61 62 6c 65 73 20 75 73 | 65 2d 6c 6f 63 61 6c 2d |ables us|e-local-|
|000009b0| 6d 61 70 20 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 2d |map prol|og-mode-|
|000009c0| 6d 61 70 20 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 20 |map prol|og-mode |
|000009d0| 6d 61 6a 6f 72 2d 6d 6f | 64 65 20 22 50 72 6f 6c |major-mo|de "Prol|
|000009e0| 6f 67 22 20 6d 6f 64 65 | 2d 6e 61 6d 65 20 70 72 |og" mode|-name pr|
|000009f0| 6f 6c 6f 67 2d 6d 6f 64 | 65 2d 76 61 72 69 61 62 |olog-mod|e-variab|
|00000a00| 6c 65 73 20 72 75 6e 2d | 68 6f 6f 6b 73 20 70 72 |les run-|hooks pr|
|00000a10| 6f 6c 6f 67 2d 6d 6f 64 | 65 2d 68 6f 6f 6b 5d 20 |olog-mod|e-hook] |
|00000a20| 32 20 28 23 24 20 2e 20 | 32 31 36 34 29 20 6e 69 |2 (#$ . |2164) ni|
|00000a30| 6c 5d 29 0a 23 40 31 33 | 38 20 49 6e 64 65 6e 74 |l]).#@13|8 Indent|
|00000a40| 20 63 75 72 72 65 6e 74 | 20 6c 69 6e 65 20 61 73 | current| line as|
|00000a50| 20 50 72 6f 6c 6f 67 20 | 63 6f 64 65 2e 0a 57 69 | Prolog |code..Wi|
|00000a60| 74 68 20 61 72 67 75 6d | 65 6e 74 2c 20 69 6e 64 |th argum|ent, ind|
|00000a70| 65 6e 74 20 61 6e 79 20 | 61 64 64 69 74 69 6f 6e |ent any |addition|
|00000a80| 61 6c 20 6c 69 6e 65 73 | 20 6f 66 20 74 68 65 20 |al lines| of the |
|00000a90| 73 61 6d 65 20 63 6c 61 | 75 73 65 0a 72 69 67 69 |same cla|use.rigi|
|00000aa0| 64 6c 79 20 61 6c 6f 6e | 67 20 77 69 74 68 20 74 |dly alon|g with t|
|00000ab0| 68 69 73 20 6f 6e 65 20 | 28 6e 6f 74 20 79 65 74 |his one |(not yet|
|00000ac0| 29 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 70 |)...(def|alias 'p|
|00000ad0| 72 6f 6c 6f 67 2d 69 6e | 64 65 6e 74 2d 6c 69 6e |rolog-in|dent-lin|
|00000ae0| 65 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 77 |e #[(&op|tional w|
|00000af0| 68 6f 6c 65 2d 65 78 70 | 29 20 22 c0 20 64 60 5a |hole-exp|) ". d`Z|
|00000b00| c1 1a 1b 1c c5 79 88 60 | 12 c6 c1 77 88 5c 66 69 |.....y.`|...w.\fi|
|00000b10| 5a c5 55 84 21 00 5c 6e | 60 7c 88 5c 66 6a 88 64 |Z.U.!.\n|`|.\fj.d|
|00000b20| 0b 5a 60 56 85 2d 00 64 | 0b 5a 62 2b 87 22 20 5b |.Z`V.-.d|.Zb+." [|
|00000b30| 70 72 6f 6c 6f 67 2d 69 | 6e 64 65 6e 74 2d 6c 65 |prolog-i|ndent-le|
|00000b40| 76 65 6c 20 6e 69 6c 20 | 62 65 67 20 70 6f 73 20 |vel nil |beg pos |
|00000b50| 69 6e 64 65 6e 74 20 30 | 20 22 20 09 22 5d 20 33 |indent 0| " ."] 3|
|00000b60| 20 28 23 24 20 2e 20 32 | 36 31 38 29 20 22 70 22 | (#$ . 2|618) "p"|
|00000b70| 5d 29 0a 23 40 33 35 20 | 43 6f 6d 70 75 74 65 20 |]).#@35 |Compute |
|00000b80| 70 72 6f 6c 6f 67 20 69 | 6e 64 65 6e 74 61 74 69 |prolog i|ndentati|
|00000b90| 6f 6e 20 6c 65 76 65 6c | 2e 1f 0a 28 64 65 66 61 |on level|...(defa|
|00000ba0| 6c 69 61 73 20 27 70 72 | 6f 6c 6f 67 2d 69 6e 64 |lias 'pr|olog-ind|
|00000bb0| 65 6e 74 2d 6c 65 76 65 | 6c 20 23 5b 6e 69 6c 20 |ent-leve|l #[nil |
|00000bc0| 22 8a c0 79 88 c1 c2 77 | 88 c3 c4 21 83 12 00 c0 |"..y...w|...!....|
|00000bd0| 82 e1 00 c3 c5 21 83 1d | 00 0e 06 82 e1 00 6f 83 |.....!..|......o.|
|00000be0| 25 00 c0 82 e1 00 c7 c2 | 89 89 1e 08 1e 09 1e 5c |%.......|.......\|
|00000bf0| 6e 1e 0b c3 cc 21 83 3d | 00 c7 16 08 82 40 00 c2 |n....!.=|.....@..|
|00000c00| 16 08 0e 0b 83 6d 00 cd | 79 88 c0 79 88 6f 83 56 |.....m..|y..y.o.V|
|00000c10| 00 c2 89 16 0b 82 42 00 | c1 c2 77 88 c3 c5 21 84 |......B.|..w...!.|
|00000c20| 40 00 c3 ce 21 84 40 00 | c2 89 16 0b 84 45 00 6f |@...!.@.|.....E.o|
|00000c30| 83 77 00 c0 16 5c 6e 82 | 7a 00 69 16 5c 6e c3 cf |.w...\n.|z.i.\n..|
|00000c40| 21 83 85 00 0e 5c 6e 82 | e0 00 c3 d0 21 83 91 00 |!....\n.|....!...|
|00000c50| c7 16 09 82 94 00 c2 16 | 09 d1 20 88 6f 84 9e 00 |........|.. .o...|
|00000c60| cd 75 88 c3 d2 21 83 bf | 00 0e 09 83 b7 00 c3 d3 |.u...!..|........|
|00000c70| 21 83 b7 00 0e 5c 6e 0e | 14 5c 5c 82 e0 00 0e 15 |!....\n.|.\\.....|
|00000c80| 0e 5c 6e 5d 82 e0 00 c3 | d6 21 83 ca 00 0e 15 82 |.\n]....|.!......|
|00000c90| e0 00 0e 08 84 d5 00 c3 | d7 21 83 df 00 0e 5c 6e |........|.!....\n|
|00000ca0| 0e 14 5a c0 5d 82 e0 00 | c0 2c 29 87 22 20 5b 30 |..Z.]...|.,)." [0|
|00000cb0| 20 22 20 09 22 20 6e 69 | 6c 20 6c 6f 6f 6b 69 6e | " ." ni|l lookin|
|00000cc0| 67 2d 61 74 20 22 25 25 | 25 22 20 22 25 5b 5e 25 |g-at "%%|%" "%[^%|
|00000cd0| 5d 22 20 63 6f 6d 6d 65 | 6e 74 2d 63 6f 6c 75 6d |]" comme|nt-colum|
|00000ce0| 6e 20 74 20 6c 65 73 73 | 20 6d 6f 72 65 20 69 6e |n t less| more in|
|00000cf0| 64 20 65 6d 70 74 79 20 | 22 29 22 20 2d 31 20 22 |d empty |")" -1 "|
|00000d00| 5c 6e 22 20 22 25 25 5b | 5e 25 5d 22 20 22 28 22 |\n" "%%[|^%]" "("|
|00000d10| 20 65 6e 64 2d 6f 66 2d | 70 72 6f 6c 6f 67 2d 63 | end-of-|prolog-c|
|00000d20| 6c 61 75 73 65 20 22 5b | 2c 28 3b 3e 5d 22 20 22 |lause "[|,(;>]" "|
|00000d30| 5b 5e 2c 5d 22 20 70 72 | 6f 6c 6f 67 2d 69 6e 64 |[^,]" pr|olog-ind|
|00000d40| 65 6e 74 2d 77 69 64 74 | 68 20 74 61 62 2d 77 69 |ent-widt|h tab-wi|
|00000d50| 64 74 68 20 22 2d 22 20 | 22 5b 5e 2e 5d 22 5d 20 |dth "-" |"[^.]"] |
|00000d60| 35 20 28 23 24 20 2e 20 | 32 39 33 36 29 5d 29 0a |5 (#$ . |2936)]).|
|00000d70| 23 40 33 35 20 47 6f 20 | 74 6f 20 65 6e 64 20 6f |#@35 Go |to end o|
|00000d80| 66 20 63 6c 61 75 73 65 | 20 69 6e 20 74 68 69 73 |f clause| in this|
|00000d90| 20 6c 69 6e 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 | line...|(defalia|
|00000da0| 73 20 27 65 6e 64 2d 6f | 66 2d 70 72 6f 6c 6f 67 |s 'end-o|f-prolog|
|00000db0| 2d 63 6c 61 75 73 65 20 | 23 5b 6e 69 6c 20 22 c0 |-clause |#[nil ".|
|00000dc0| 79 88 8a c1 7f 88 60 29 | 1a c3 5c 66 5c 6e c5 23 |y.....`)|..\f\n.#|
|00000dd0| 83 16 00 c0 94 62 88 c6 | c1 78 29 87 22 20 5b 30 |.....b..|.x)." [0|
|00000de0| 20 6e 69 6c 20 65 6f 6c | 70 6f 73 20 72 65 2d 73 | nil eol|pos re-s|
|00000df0| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 63 6f |earch-fo|rward co|
|00000e00| 6d 6d 65 6e 74 2d 73 74 | 61 72 74 2d 73 6b 69 70 |mment-st|art-skip|
|00000e10| 20 6d 6f 76 65 20 22 20 | 09 22 5d 20 34 20 28 23 | move " |."] 4 (#|
|00000e20| 24 20 2e 20 33 34 34 35 | 29 5d 29 0a 23 40 33 37 |$ . 3445|)]).#@37|
|00000e30| 20 43 6f 6d 70 75 74 65 | 20 70 72 6f 6c 6f 67 20 | Compute| prolog |
|00000e40| 63 6f 6d 6d 65 6e 74 20 | 69 6e 64 65 6e 74 61 74 |comment |indentat|
|00000e50| 69 6f 6e 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ion...(d|efalias |
|00000e60| 27 70 72 6f 6c 6f 67 2d | 63 6f 6d 6d 65 6e 74 2d |'prolog-|comment-|
|00000e70| 69 6e 64 65 6e 74 20 23 | 5b 6e 69 6c 20 22 c0 c1 |indent #|[nil "..|
|00000e80| 21 83 08 00 c2 87 c0 c3 | 21 83 11 00 c4 20 87 8a |!.......|!.... ..|
|00000e90| c5 c6 78 88 69 6e 83 1f | 00 c2 82 20 00 c7 5c 5c |..x.in..|... ..\\|
|00000ea0| 0e 08 5d 29 87 22 20 5b | 6c 6f 6f 6b 69 6e 67 2d |..])." [|looking-|
|00000eb0| 61 74 20 22 25 25 25 22 | 20 30 20 22 25 25 22 20 |at "%%%"| 0 "%%" |
|00000ec0| 70 72 6f 6c 6f 67 2d 69 | 6e 64 65 6e 74 2d 6c 65 |prolog-i|ndent-le|
|00000ed0| 76 65 6c 20 22 20 09 22 | 20 6e 69 6c 20 31 20 63 |vel " ."| nil 1 c|
|00000ee0| 6f 6d 6d 65 6e 74 2d 63 | 6f 6c 75 6d 6e 5d 20 32 |omment-c|olumn] 2|
|00000ef0| 20 28 23 24 20 2e 20 33 | 36 33 33 29 5d 29 0a 28 | (#$ . 3|633)]).(|
|00000f00| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 21 84 08 |byte-cod|e "..!..|
|00000f10| 00 c2 11 c1 0b 42 13 c2 | 87 22 20 5b 62 6f 75 6e |.....B..|." [boun|
|00000f20| 64 70 20 69 6e 66 65 72 | 69 6f 72 2d 70 72 6f 6c |dp infer|ior-prol|
|00000f30| 6f 67 2d 6d 6f 64 65 2d | 6d 61 70 20 6e 69 6c 20 |og-mode-|map nil |
|00000f40| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00000f50| 74 5d 20 32 29 0a 23 40 | 31 30 31 33 20 4d 61 6a |t] 2).#@|1013 Maj|
|00000f60| 6f 72 20 6d 6f 64 65 20 | 66 6f 72 20 69 6e 74 65 |or mode |for inte|
|00000f70| 72 61 63 74 69 6e 67 20 | 77 69 74 68 20 61 6e 20 |racting |with an |
|00000f80| 69 6e 66 65 72 69 6f 72 | 20 50 72 6f 6c 6f 67 20 |inferior| Prolog |
|00000f90| 70 72 6f 63 65 73 73 2e | 0a 0a 54 68 65 20 66 6f |process.|..The fo|
|00000fa0| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 73 |llowing |commands|
|00000fb0| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 3a 0a | are ava|ilable:.|
|00000fc0| 5c 7b 69 6e 66 65 72 69 | 6f 72 2d 70 72 6f 6c 6f |\{inferi|or-prolo|
|00000fd0| 67 2d 6d 6f 64 65 2d 6d | 61 70 7d 0a 0a 45 6e 74 |g-mode-m|ap}..Ent|
|00000fe0| 72 79 20 74 6f 20 74 68 | 69 73 20 6d 6f 64 65 20 |ry to th|is mode |
|00000ff0| 63 61 6c 6c 73 20 74 68 | 65 20 76 61 6c 75 65 20 |calls th|e value |
|00001000| 6f 66 20 60 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 2d |of `prol|og-mode-|
|00001010| 68 6f 6f 6b 27 20 77 69 | 74 68 20 6e 6f 20 61 72 |hook' wi|th no ar|
|00001020| 67 75 6d 65 6e 74 73 2c | 0a 69 66 20 74 68 61 74 |guments,|.if that|
|00001030| 20 76 61 6c 75 65 20 69 | 73 20 6e 6f 6e 2d 6e 69 | value i|s non-ni|
|00001040| 6c 2e 20 20 4c 69 6b 65 | 77 69 73 65 20 77 69 74 |l. Like|wise wit|
|00001050| 68 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 60 |h the va|lue of `|
|00001060| 63 6f 6d 69 6e 74 2d 6d | 6f 64 65 2d 68 6f 6f 6b |comint-m|ode-hook|
|00001070| 27 2e 0a 60 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 2d |'..`prol|og-mode-|
|00001080| 68 6f 6f 6b 27 20 69 73 | 20 63 61 6c 6c 65 64 20 |hook' is| called |
|00001090| 61 66 74 65 72 20 60 63 | 6f 6d 69 6e 74 2d 6d 6f |after `c|omint-mo|
|000010a0| 64 65 2d 68 6f 6f 6b 27 | 2e 0a 0a 59 6f 75 20 63 |de-hook'|...You c|
|000010b0| 61 6e 20 73 65 6e 64 20 | 74 65 78 74 20 74 6f 20 |an send |text to |
|000010c0| 74 68 65 20 69 6e 66 65 | 72 69 6f 72 20 50 72 6f |the infe|rior Pro|
|000010d0| 6c 6f 67 20 66 72 6f 6d | 20 6f 74 68 65 72 20 62 |log from| other b|
|000010e0| 75 66 66 65 72 73 0a 75 | 73 69 6e 67 20 74 68 65 |uffers.u|sing the|
|000010f0| 20 63 6f 6d 6d 61 6e 64 | 73 20 60 73 65 6e 64 2d | command|s `send-|
|00001100| 72 65 67 69 6f 6e 27 2c | 20 60 73 65 6e 64 2d 73 |region',| `send-s|
|00001110| 74 72 69 6e 67 27 20 61 | 6e 64 20 5c 5b 70 72 6f |tring' a|nd \[pro|
|00001120| 6c 6f 67 2d 63 6f 6e 73 | 75 6c 74 2d 72 65 67 69 |log-cons|ult-regi|
|00001130| 6f 6e 5d 2e 0a 0a 43 6f | 6d 6d 61 6e 64 73 3a 0a |on]...Co|mmands:.|
|00001140| 54 61 62 20 69 6e 64 65 | 6e 74 73 20 66 6f 72 20 |Tab inde|nts for |
|00001150| 50 72 6f 6c 6f 67 3b 20 | 77 69 74 68 20 61 72 67 |Prolog; |with arg|
|00001160| 75 6d 65 6e 74 2c 20 73 | 68 69 66 74 73 20 72 65 |ument, s|hifts re|
|00001170| 73 74 0a 20 6f 66 20 65 | 78 70 72 65 73 73 69 6f |st. of e|xpressio|
|00001180| 6e 20 72 69 67 69 64 6c | 79 20 77 69 74 68 20 74 |n rigidl|y with t|
|00001190| 68 65 20 63 75 72 72 65 | 6e 74 20 6c 69 6e 65 2e |he curre|nt line.|
|000011a0| 0a 50 61 72 61 67 72 61 | 70 68 73 20 61 72 65 20 |.Paragra|phs are |
|000011b0| 73 65 70 61 72 61 74 65 | 64 20 6f 6e 6c 79 20 62 |separate|d only b|
|000011c0| 79 20 62 6c 61 6e 6b 20 | 6c 69 6e 65 73 20 61 6e |y blank |lines an|
|000011d0| 64 20 27 25 25 27 2e 0a | 27 25 27 73 20 73 74 61 |d '%%'..|'%'s sta|
|000011e0| 72 74 20 63 6f 6d 6d 65 | 6e 74 73 2e 0a 0a 52 65 |rt comme|nts...Re|
|000011f0| 74 75 72 6e 20 61 74 20 | 65 6e 64 20 6f 66 20 62 |turn at |end of b|
|00001200| 75 66 66 65 72 20 73 65 | 6e 64 73 20 6c 69 6e 65 |uffer se|nds line|
|00001210| 20 61 73 20 69 6e 70 75 | 74 2e 0a 52 65 74 75 72 | as inpu|t..Retur|
|00001220| 6e 20 6e 6f 74 20 61 74 | 20 65 6e 64 20 63 6f 70 |n not at| end cop|
|00001230| 69 65 73 20 72 65 73 74 | 20 6f 66 20 6c 69 6e 65 |ies rest| of line|
|00001240| 20 74 6f 20 65 6e 64 20 | 61 6e 64 20 73 65 6e 64 | to end |and send|
|00001250| 73 20 69 74 2e 0a 5c 5b | 63 6f 6d 69 6e 74 2d 6b |s it..\[|comint-k|
|00001260| 69 6c 6c 2d 69 6e 70 75 | 74 5d 20 61 6e 64 20 5c |ill-inpu|t] and \|
|00001270| 5b 62 61 63 6b 77 61 72 | 64 2d 6b 69 6c 6c 2d 77 |[backwar|d-kill-w|
|00001280| 6f 72 64 5d 20 61 72 65 | 20 6b 69 6c 6c 20 63 6f |ord] are| kill co|
|00001290| 6d 6d 61 6e 64 73 2c 20 | 69 6d 69 74 61 74 69 6e |mmands, |imitatin|
|000012a0| 67 20 6e 6f 72 6d 61 6c | 20 55 6e 69 78 20 69 6e |g normal| Unix in|
|000012b0| 70 75 74 20 65 64 69 74 | 69 6e 67 2e 0a 5c 5b 63 |put edit|ing..\[c|
|000012c0| 6f 6d 69 6e 74 2d 69 6e | 74 65 72 72 75 70 74 2d |omint-in|terrupt-|
|000012d0| 73 75 62 6a 6f 62 5d 20 | 69 6e 74 65 72 72 75 70 |subjob] |interrup|
|000012e0| 74 73 20 74 68 65 20 73 | 68 65 6c 6c 20 6f 72 20 |ts the s|hell or |
|000012f0| 69 74 73 20 63 75 72 72 | 65 6e 74 20 73 75 62 6a |its curr|ent subj|
|00001300| 6f 62 20 69 66 20 61 6e | 79 2e 0a 5c 5b 63 6f 6d |ob if an|y..\[com|
|00001310| 69 6e 74 2d 73 74 6f 70 | 2d 73 75 62 6a 6f 62 5d |int-stop|-subjob]|
|00001320| 20 73 74 6f 70 73 2e 20 | 5c 5b 63 6f 6d 69 6e 74 | stops. |\[comint|
|00001330| 2d 71 75 69 74 2d 73 75 | 62 6a 6f 62 5d 20 73 65 |-quit-su|bjob] se|
|00001340| 6e 64 73 20 71 75 69 74 | 20 73 69 67 6e 61 6c 2e |nds quit| signal.|
|00001350| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 6e 66 |..(defal|ias 'inf|
|00001360| 65 72 69 6f 72 2d 70 72 | 6f 6c 6f 67 2d 6d 6f 64 |erior-pr|olog-mod|
|00001370| 65 20 23 5b 6e 69 6c 20 | 22 c0 c1 21 88 c2 20 88 |e #[nil |"..!.. .|
|00001380| c3 14 c5 16 06 c7 16 08 | c9 20 88 0e 5c 6e 84 5c |........|. ..\n.\|
|00001390| 22 00 cb 0e 5c 66 21 16 | 5c 6e cd 0e 5c 6e 21 88 |"...\f!.|\n..\n!.|
|000013a0| ce 0e 5c 6e 21 88 cf d0 | 21 87 22 20 5b 72 65 71 |..\n!...|!." [req|
|000013b0| 75 69 72 65 20 63 6f 6d | 69 6e 74 20 63 6f 6d 69 |uire com|int comi|
|000013c0| 6e 74 2d 6d 6f 64 65 20 | 69 6e 66 65 72 69 6f 72 |nt-mode |inferior|
|000013d0| 2d 70 72 6f 6c 6f 67 2d | 6d 6f 64 65 20 6d 61 6a |-prolog-|mode maj|
|000013e0| 6f 72 2d 6d 6f 64 65 20 | 22 49 6e 66 65 72 69 6f |or-mode |"Inferio|
|000013f0| 72 20 50 72 6f 6c 6f 67 | 22 20 6d 6f 64 65 2d 6e |r Prolog|" mode-n|
|00001400| 61 6d 65 20 22 5e 7c 20 | 5b 20 3f 5d 5b 2d 20 5d |ame "^| |[ ?][- ]|
|00001410| 20 2a 22 20 63 6f 6d 69 | 6e 74 2d 70 72 6f 6d 70 | *" comi|nt-promp|
|00001420| 74 2d 72 65 67 65 78 70 | 20 70 72 6f 6c 6f 67 2d |t-regexp| prolog-|
|00001430| 6d 6f 64 65 2d 76 61 72 | 69 61 62 6c 65 73 20 69 |mode-var|iables i|
|00001440| 6e 66 65 72 69 6f 72 2d | 70 72 6f 6c 6f 67 2d 6d |nferior-|prolog-m|
|00001450| 6f 64 65 2d 6d 61 70 20 | 63 6f 70 79 2d 6b 65 79 |ode-map |copy-key|
|00001460| 6d 61 70 20 63 6f 6d 69 | 6e 74 2d 6d 6f 64 65 2d |map comi|nt-mode-|
|00001470| 6d 61 70 20 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 2d |map prol|og-mode-|
|00001480| 63 6f 6d 6d 61 6e 64 73 | 20 75 73 65 2d 6c 6f 63 |commands| use-loc|
|00001490| 61 6c 2d 6d 61 70 20 72 | 75 6e 2d 68 6f 6f 6b 73 |al-map r|un-hooks|
|000014a0| 20 70 72 6f 6c 6f 67 2d | 6d 6f 64 65 2d 68 6f 6f | prolog-|mode-hoo|
|000014b0| 6b 5d 20 32 20 28 23 24 | 20 2e 20 33 39 33 33 29 |k] 2 (#$| . 3933)|
|000014c0| 20 6e 69 6c 5d 29 0a 23 | 40 37 31 20 52 75 6e 20 | nil]).#|@71 Run |
|000014d0| 61 6e 20 69 6e 66 65 72 | 69 6f 72 20 50 72 6f 6c |an infer|ior Prol|
|000014e0| 6f 67 20 70 72 6f 63 65 | 73 73 2c 20 69 6e 70 75 |og proce|ss, inpu|
|000014f0| 74 20 61 6e 64 20 6f 75 | 74 70 75 74 20 76 69 61 |t and ou|tput via|
|00001500| 20 62 75 66 66 65 72 20 | 2a 70 72 6f 6c 6f 67 2a | buffer |*prolog*|
|00001510| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 72 75 |...(defa|lias 'ru|
|00001520| 6e 2d 70 72 6f 6c 6f 67 | 20 23 5b 6e 69 6c 20 22 |n-prolog| #[nil "|
|00001530| c0 c1 21 88 c2 c3 c4 0d | 5c 22 21 88 c6 20 87 22 |..!.....|\"!.. ."|
|00001540| 20 5b 72 65 71 75 69 72 | 65 20 63 6f 6d 69 6e 74 | [requir|e comint|
|00001550| 20 73 77 69 74 63 68 2d | 74 6f 2d 62 75 66 66 65 | switch-|to-buffe|
|00001560| 72 20 6d 61 6b 65 2d 63 | 6f 6d 69 6e 74 20 22 70 |r make-c|omint "p|
|00001570| 72 6f 6c 6f 67 22 20 70 | 72 6f 6c 6f 67 2d 70 72 |rolog" p|rolog-pr|
|00001580| 6f 67 72 61 6d 2d 6e 61 | 6d 65 20 69 6e 66 65 72 |ogram-na|me infer|
|00001590| 69 6f 72 2d 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 5d |ior-prol|og-mode]|
|000015a0| 20 34 20 28 23 24 20 2e | 20 35 33 32 34 29 20 6e | 4 (#$ .| 5324) n|
|000015b0| 69 6c 5d 29 0a 23 40 31 | 34 34 20 53 65 6e 64 20 |il]).#@1|44 Send |
|000015c0| 74 68 65 20 72 65 67 69 | 6f 6e 20 74 6f 20 74 68 |the regi|on to th|
|000015d0| 65 20 50 72 6f 6c 6f 67 | 20 70 72 6f 63 65 73 73 |e Prolog| process|
|000015e0| 20 6d 61 64 65 20 62 79 | 20 22 4d 2d 78 20 72 75 | made by| "M-x ru|
|000015f0| 6e 2d 70 72 6f 6c 6f 67 | 22 2e 0a 49 66 20 43 4f |n-prolog|"..If CO|
|00001600| 4d 50 49 4c 45 20 28 70 | 72 65 66 69 78 20 61 72 |MPILE (p|refix ar|
|00001610| 67 29 20 69 73 20 6e 6f | 74 20 6e 69 6c 2c 20 75 |g) is no|t nil, u|
|00001620| 73 65 20 63 6f 6d 70 69 | 6c 65 20 6d 6f 64 65 20 |se compi|le mode |
|00001630| 72 61 74 68 65 72 20 74 | 68 61 6e 20 63 6f 6e 73 |rather t|han cons|
|00001640| 75 6c 74 20 6d 6f 64 65 | 2e 1f 0a 28 64 65 66 61 |ult mode|...(defa|
|00001650| 6c 69 61 73 20 27 70 72 | 6f 6c 6f 67 2d 63 6f 6e |lias 'pr|olog-con|
|00001660| 73 75 6c 74 2d 72 65 67 | 69 6f 6e 20 23 5b 28 63 |sult-reg|ion #[(c|
|00001670| 6f 6d 70 69 6c 65 20 62 | 65 67 20 65 6e 64 29 20 |ompile b|eg end) |
|00001680| 22 8a 08 83 0d 00 c1 c2 | 0b 5c 22 88 82 12 00 c1 |".......|.\".....|
|00001690| c2 5c 66 5c 22 88 c5 c2 | 0e 06 0e 07 23 88 c1 c2 |.\f\"...|....#...|
|000016a0| c8 5c 22 88 0e 09 83 2c | 00 c1 c2 0e 09 5c 22 82 |.\"....,|.....\".|
|000016b0| 2f 00 ca c2 21 29 87 22 | 20 5b 63 6f 6d 70 69 6c |/...!)."| [compil|
|000016c0| 65 20 73 65 6e 64 2d 73 | 74 72 69 6e 67 20 22 70 |e send-s|tring "p|
|000016d0| 72 6f 6c 6f 67 22 20 70 | 72 6f 6c 6f 67 2d 63 6f |rolog" p|rolog-co|
|000016e0| 6d 70 69 6c 65 2d 73 74 | 72 69 6e 67 20 70 72 6f |mpile-st|ring pro|
|000016f0| 6c 6f 67 2d 63 6f 6e 73 | 75 6c 74 2d 73 74 72 69 |log-cons|ult-stri|
|00001700| 6e 67 20 73 65 6e 64 2d | 72 65 67 69 6f 6e 20 62 |ng send-|region b|
|00001710| 65 67 20 65 6e 64 20 22 | 5c 6e 22 20 70 72 6f 6c |eg end "|\n" prol|
|00001720| 6f 67 2d 65 6f 66 2d 73 | 74 72 69 6e 67 20 70 72 |og-eof-s|tring pr|
|00001730| 6f 63 65 73 73 2d 73 65 | 6e 64 2d 65 6f 66 5d 20 |ocess-se|nd-eof] |
|00001740| 34 20 28 23 24 20 2e 20 | 35 35 36 33 29 20 22 50 |4 (#$ . |5563) "P|
|00001750| 5c 6e 72 22 5d 29 0a 23 | 40 31 35 31 20 53 65 6e |\nr"]).#|@151 Sen|
|00001760| 64 20 74 68 65 20 72 65 | 67 69 6f 6e 20 74 6f 20 |d the re|gion to |
|00001770| 74 68 65 20 69 6e 66 65 | 72 69 6f 72 20 50 72 6f |the infe|rior Pro|
|00001780| 6c 6f 67 2c 20 61 6e 64 | 20 73 77 69 74 63 68 20 |log, and| switch |
|00001790| 74 6f 20 2a 70 72 6f 6c | 6f 67 2a 20 62 75 66 66 |to *prol|og* buff|
|000017a0| 65 72 2e 0a 49 66 20 43 | 4f 4d 50 49 4c 45 20 28 |er..If C|OMPILE (|
|000017b0| 70 72 65 66 69 78 20 61 | 72 67 29 20 69 73 20 6e |prefix a|rg) is n|
|000017c0| 6f 74 20 6e 69 6c 2c 20 | 75 73 65 20 63 6f 6d 70 |ot nil, |use comp|
|000017d0| 69 6c 65 20 6d 6f 64 65 | 20 72 61 74 68 65 72 20 |ile mode| rather |
|000017e0| 74 68 61 6e 20 63 6f 6e | 73 75 6c 74 20 6d 6f 64 |than con|sult mod|
|000017f0| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 70 |e...(def|alias 'p|
|00001800| 72 6f 6c 6f 67 2d 63 6f | 6e 73 75 6c 74 2d 72 65 |rolog-co|nsult-re|
|00001810| 67 69 6f 6e 2d 61 6e 64 | 2d 67 6f 20 23 5b 28 63 |gion-and|-go #[(c|
|00001820| 6f 6d 70 69 6c 65 20 62 | 65 67 20 65 6e 64 29 20 |ompile b|eg end) |
|00001830| 22 c0 09 5c 6e 0b 23 88 | c4 c5 21 87 22 20 5b 70 |"..\n.#.|..!." [p|
|00001840| 72 6f 6c 6f 67 2d 63 6f | 6e 73 75 6c 74 2d 72 65 |rolog-co|nsult-re|
|00001850| 67 69 6f 6e 20 63 6f 6d | 70 69 6c 65 20 62 65 67 |gion com|pile beg|
|00001860| 20 65 6e 64 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 | end swi|tch-to-b|
|00001870| 75 66 66 65 72 20 22 2a | 70 72 6f 6c 6f 67 2a 22 |uffer "*|prolog*"|
|00001880| 5d 20 34 20 28 23 24 20 | 2e 20 35 39 38 31 29 20 |] 4 (#$ |. 5981) |
|00001890| 22 50 5c 6e 72 22 5d 29 | 0a |"P\nr"])|. |
+--------+-------------------------+-------------------------+--------+--------+